import request from '@/utils/request.js'

//获取所有学生成绩信息
export const getAllScore = (queryParams)=>{
    return request.get('/teach-system/admin/getAllScore',{params:queryParams});
}


//删除学生成绩信息
export const deleteScore = (id)=>{
    return request.delete('/teach-system/admin/deleteScoreById/'+id);
}

//管理员修改学生成绩信息
export const updateScoreInfo = (manage)=>{
    return request.put('/teach-system/admin/updateScore',manage);
}

//管理员根据id获取排课信息
export const getDetailScoreInfo = (id)=>{
    return request.get('/teach-system/admin/getScoreById/'+id);
}